package com.guigu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 后台角色表
 * </p>
 *
 * @author Mr.Zhang
 * @since 2025-03-12
 */
@Data
@TableName("sys_roles")
public class SysRoles implements Serializable {

    private static final long serialVersionUID=1L;

    //@ApiModelProperty(value = "角色id，主键，自增")
      @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;

    //@ApiModelProperty(value = "角色名称")
    private String name;

    //@ApiModelProperty(value = "角色代码")
    private String code;

    //@ApiModelProperty(value = "角色描述")
    private String desc;

    //@ApiModelProperty(value = "是否删除，C001-1（未删除）、C001-2（已删除）")
    private String status;


}
